Module-level declarations
Functions
Queries
Retrieves a citizen's details based on the provided account ID.
Retrieves statistics for a citizen based on the provided account ID. The query is used to retrieve and format statistical data for the specified citizen account.
Retrieves a paginated list of citizens. The query is used to fetch and navigate through a large list of citizens in the paginated format.
Retrieves the registration message for a given Ethereum address.
Checks if a given account ID belongs to a councilor or an admin. The query is used to determine the role and access level of a specific account.
Operations
Authenticates the requester, checks if they have admin privileges, and then registers a new admin if the requester is authorized.
This opearation takes no parameter.
Registers a new citizen, sets up their account and statistics, verifies their registration eligibility, and performs additional steps such as creating a cooldown proposal and snapshots of their balances.
This opearation takes no parameter for registering a citizen.
Registers citizens by using auth server.
This opearation takes multiple parameters.
Updates the cooldown configurations for citizen operations, including draft, rejection, and veto cooldown periods. This operation requires admin privileges and takes multiple parameters.
Changes the type of a citizen.
This opearation takes two parameters.